/*
* 命名空间: Project.Model
*
* 功 能： T_Business实体类
*
* 类 名： T_BusinessEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Business")]
    public class T_BusinessEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Name",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Name
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Credit",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Credit
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PYM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PYM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Phone",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Phone
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Charge",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Charge
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ChargePYM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ChargePYM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "BID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? BID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "No",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string No
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "LBBM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? LBBM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 4,DecimalDigits = 0,ColumnName = "IsTicket",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string IsTicket
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1000,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FYear",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? FYear
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "TaxNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TaxNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BankNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BankNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BankName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BankName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Address",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Address
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }
    }
}
